import Mock from 'mockjs'

Mock.mock(process.env.VUE_APP_API_BASE_URL + 'paper/favorite_rec', 'post', (request) => {
    return{
        status: {
            code: 0,
            message: "获取推荐成功"
          },
          data: {
            total:1,
            paperList:[
                {
                    paper_id: 2,
                    title: "Absolute electron and positron fluxes from PAMELA/Fermi and Dark Matter",
                    authors:[
                        {
                            author_id:1,
                            author_name:"C. Bal\'azs"
                        },
                        {
                            author_id:5,
                            author_name:"N. Sahu"
                        },
                        {
                            author_id:6,
                            author_name:"A. Mazumdar"
                        }
                        ],
                    update_date: "2009-11-19",
                    favorite: false
                },
                {
                    paper_id: 3,
                    title: "Les Houches 2011: Physics at TeV Colliders New Physics Working Group Report",
                    authors:[
                        {
                            author_id:7,
                            author_name:"G. Brooijmans"
                        },
                        {
                            author_id:8,
                            author_name:"B. Gripaios"
                        },
                        {
                            author_id:1,
                            author_name:"C. Bal\'azs"
                        }
                        ],
                    update_date: "2012-04-23",
                    favorite: false
                },
                {
                    paper_id: 5,
                    title: "SUSY Les Houches Accord: Interfacing SUSY Spectrum Calculators, Decay Packages, and Event Generators",
                    authors:[
                        {
                            author_id:12,
                            author_name:"P. Skands"
                        },
                        {
                            author_id:1,
                            author_name:"C. Bal\'azs"
                        },
                        {
                            author_id:13,
                            author_name:"B.C. Allanach"
                        },
                        {
                            author_id:14,
                            author_name:"H. Baer"
                        }
                        ],
                    update_date: "2009-11-23",
                    favorite: false
                }
            ]
          }
    }
})